package com.example.com.demo.gsondemo;

import com.google.gson.annotations.Expose;

/**
 * Created by win7 on 2016/7/2.
 */
public class GsonDemo {
    //没有被注解的参数将在序列化的时候被忽略
    @Expose
    private String name = "";
    @Expose
    private String age = "";
    @Expose
    private String area = "";
    private String testsss = "";



    public  GsonDemo() {
    }

    public void setTestsss(String testsss) {
        this.testsss = testsss;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String toString()
    {
        return  "name : " + name + "  age : " + age + "  area : " + area + "  testssss : " + testsss;
    }
}
